package tenants

import "github.com/zeromicro/go-zero/core/stores/sqlx"

var ErrNotFound = sqlx.ErrNotFound

// 定义租户类型
const (
	// Enterprise 企业
	Enterprise = 1
	// Individual 个体工商户
	Individual = 2
	// NonProfit 非盈利机构组织
	NonProfit = 3
	// Personal 个人工商户
	Personal = 4
	// Government 政府
	Government = 5
	// Other 其他
	Other = 6
)

type TenantStatus int

// 租户状态
const (
	// Activation 已激活
	Activation TenantStatus = 0
	// NotActivated 未激活
	NotActivated TenantStatus = 1
	// Suspended 冻结
	Suspended TenantStatus = 2
	// Stop 禁用
	Stop TenantStatus = 3
)
